package com.example;

import com.example.dao.UserDao;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@ContextConfiguration("classpath:aop-anno.xml")
public class MyTest3 {

    @Autowired
    UserDao userDao;

    @Test
    public void testXml(){
        userDao.delete();
    }
}
